Small physics project written in C++ about a ball bouncing on a moving surface