Create IO.java

IO has useful tools for input and output.