exercise1 of the java introduction done