Created the Java docs and added a print statement for the ArrayList.