Added new search algorithm

Added a linear search function and renamed treeSearch to Tree Search.