Update string.py

Add bi-directional search algorithm and BFS (breadth first search)