Modeling brain function: Storage and Retrieval of Temporal Sequences