added modular files for week2 exercise and used CMakeLists to link them all together