maze rotate : balls in the puzzle