Update Main.java

line 8, updated from listing all units to units.*;