A simple particle system created in c++: OpenGL