finished pretty printing library and cleaning up monads yay.