Made more changes to bruteforce.cpp.  Still debugging.