added second java-homework