Improved tutor searching algorithm