finished prog09

project for java complete. code fixed and works now. lots of comments