Clarify precedence
Test overlaps
Fix style
Fix tiling

Resize and crop level in one step to create tile. It’s not as efficient as
resizing only once per level but I tried to make the program correct first,
then fast.

/cc @iangilman