Solved all exercises except for one failing test case.