Changed putStrLn to printf.
Renamed xl module to Main.