Added solution to Cat, Parrot, Seed problem