Problem 2 solved
Adding a wrong way to solve the problem, as an example, and also some unit tests