Polyomino rotation implementation