An Introduction to Cognitive psychology