Added boundaries and renamed square to snake