simple snake game in c++ using SDL