Fix for 5th section test

(Heading size 18 was incorrectly set to 19)
Stack implementation of size classifier

Test #5 is now rendering properly

Also implemented first set of logging tools. Should probably centralize this.