My Java HomeWork