Rotate solutions

Rotate was solved using Groovy by 1 contestant. Solution sizes: average 2405 bytes (shortest: 2401; longest: 2410).