Problem 4 complete solution

No known bugs