Object Oriented Snake2d - C++ version