debugging arraylist operations and file I/O

debugging arraylist operations and file I/O