Committed java2 homework
second commit