Added UNTESTED solution for Hard problem.