add some java homework