Pong game in C++