linear, binary, and recursive binary searches