Implement snake movement