first commit for general_assignment_7_pt1_qs_nonthreaded_java