Added IO to method to return IO<String>
Wrote squaring repl