Problem 3 complete solution

No known bugs. Working well with the test input