Submitting code 2nd part of home work. COnfusing homework because my circuit wasn't working and it was impossible to tell what I was doing.