Goats might be smarter than one would think, as they can quickly learn and remember how to perform certain tasks, a new study suggests.