Added some graph algorithms and KMP in Python