added potential solution to the cat, the parrot, and the bag of seed problem