Problems 36-51 Complete.

Finally cleared the first page of problems, missed more sleep than I
should have allowed to knock these out. More cleanup involving moving
groups of functions out of sink into their own libraries.