Problem Nine solved... not very well.