Classic snake on OpenGL