3rd assignment exercises focussing on recursion, C++ STL used