Matrix

How can I get some example of drawing a matrix or table in OpenGL??? Then I want to select a column of that table to draw a ball inside.
For example I select the cell 2x4 of the table, and in that position it’s draw a ball or sphere.

How can I do this? Or where can I get some example?

Thank’s

How about the othello game with source code here:
http://romka.demonews.com/opengl/games/index_eng.htm

Or a 3D version here: http://suberic.net/~dmm/othello/othello.html

Or the nicer looking one here: http://arrowsoft.ifrance.com/arrowsoft/opengl.html