Solution for puzzle #4
Solution for puzzle #5