Added challenge5.cpp