Update ex5.cpp
Update ex5.cpp

Changed the output from pseudo-debugging output to be conform with the task.
FirstSanny/appfs,FirstSanny/appfs,FirstSanny/appfs,appfs/appfs,FirstSanny/appfs,appfs/appfs,appfs/appfs,FirstSanny/appfs,appfs/appfs,appfs/appfs,FirstSanny/appfs,appfs/appfs,appfs/appfs,FirstSanny/appfs