mike - homework at end of week1

Everything works.  May tidy up the code but all that needs work does.