You are given an m x n matrix of characters boxGrid showing a side view of a box. Each cell is a stone '#', a stationary obstacle '*', or empty '.'.
The box is rotated 90 degrees clockwise, which makes some stones fall. Every stone falls down until it lands on an obstacle, another stone, or the bottom of the box. Obstacles do not move, and the rotation's inertia does not shift stones sideways.
It is guaranteed that each stone in boxGrid rests on an obstacle, another stone, or the bottom of the box before the rotation.
Return an n x m matrix showing the box after the rotation.