Implemented snake moving