Improved the retrieval method with some small changes
imrpoved retrieval method
Retrieval Method update
Merge branch 'fixRetrievalMethod2'

Conflicts:
	SimpleWordPredictor.xcodeproj/project.xcworkspace/xcuserdata/Aamir.xcuserdatad/UserInterfaceState.xcuserstate