Implement a snake movement