WIP on 6. Including splitting blocks correctly.
Progress on 1-6, but solution is broken.