added rotatePoint function
used freeglut instead of glut