Added functionality of Assignment8.java

^ Just have to handle the reading and writing to a file.