Phase 2 complete

Verified correctness of phase 2 with all provided textbook cases. Moving
on to testing of block functionality.