2D gravity simulator using SFML