Mostly finished but solution is not producing correct results.