Finished Java Coding