Modified Main.hs to compile.