Added CMake files for HW6

Also fixed a small print statement bug in HW6's main.cpp.