A network model of the hippocampus