Now program passes the test007 and test008.