Solution 1: Using List.drop and List.take
List.drop
List.take
rotate n list = List.drop n list ++ List.take n list