Snake movement implementation