The Nature of Early Memory: An Adaptive Theory of the Genesis and Development of Memory