Homeworks from my intro to OOP/Java class