F-7 Recursive functions practice

Rewrite the container problem without using a loop. Only by using recursion.