generate gitignore.
fix print, readIO, ioError.
doctest