added assignment5.cpp
cleaned the repo and the source code