Java Syntax HW. All 1 and 2 star tasks