Added Pattern matching algorithm. As well as Bellman-Ford algorithm