Update assignment.java

turning assignment