Refactoring: Snake shouldn t depend on the grid