-Implemented snake movement