Implementation and with brief overview of various algorithms and data structures in python