Cleaned up snake.cpp and added ignore rule fot git to stop tracking eclipse related files and folders