cleaned up rotate_cw_arr