C++/SDL implementation of Snake