Searching, Sorting and Tree Algorithms implemented in Python