Old homeworks from my intro java class