Assignments resubmitted with code cleaned up.