A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if 1 left rotation is performed on array {2,4,6,8}, then the array would become {4,6,8,2}.

Given an array of ints and a number of rotations, perform the roation.