for project4, finish computer exercise 4.