Add IO.java to print list and array.