Tetris implement using OpenGL and glut