Remembering and Forgetting: A Model of Information Processing