Completed algorithm, added Haskeline, and cleaned up solution to Windows not supporting Unicode in CLI programs.