added memory and search methods handouts and lecture codes