Simple game in C++ using SDL2