Gravity Simulator based on C POSIX library and visualized by OpenGL