Frog : design and simulation study of a mechanism which learns self preservative reactions to its environment Q Science