Java-Homework_Loops, Methods, Classes