Problem #4

Starting to solve #4