add a6.cpp and a7.cpp
Assignment 2.
Merged.
Resolved Merge