Given an input of a 2 dimensional array of integers, rotate the array 90 degrees clockwise.
It should work for rectangular arrays of all sizes and proportions.
The rotated array should be printed at the end of the program.
[[0,1,2,3,4,5], [6,7,8,9,0,1], [2,3,4,5,6,7], [8,9,0,1,2,3]]
[[8,2,6,0], [9,3,7,1], [0,4,8,2], [1,5,9,3], [2,6,0,4], [3,7,1,5]]
Do not rely on the patterns in the arrays above, they were used just for explanation purposes. Expect the arrays to be randomly generated.
Every character in the program counts as 1 point.
The first line of the program can store the array as a variable for 0 points. The array must be stored as-is without any changes made to it until after this first line.
If your code can rotate other multiples of 90 degrees, -15 points from your score. If this value must be stored, it can be done so at the beginning of the program for 0 points. It can be supplied in the same way that the array is supplied.
Lowest score wins!