Homework for Lou Sir's Java Course