Solution to problem number 1 with the man and his boat, the bird, the cat and the seed.