Home Work 3 Java