lab 9 third commit.  Completed problem 3.  Working on flow chart.