Update Assignment 6, Chapter 7.cpp

The test function now does things!