rotate 90

rotate an array by 90 degree