First version of the hire-me algorithm