A Python implementation of search algorithms