started on last part of java program. Still some things to be done, but not very difficult, I think