ita; problem 5.2 - three searching algorithms