Made a few minor modifications to 110.hs that improves the speed and memory usage dramatically.