Modify problem018.go, problem020.go, and problem022.go to use ioutil