Reformatted under Haskell Linter in SublimeText 3.
Added profiling to the compiler which doubles runtime.
Optimized all algorithms to run under 5s.