rewrite leetcode rotate image