Sample codes from Dr. Li
add test.c from GLUT example