the Algorithms that i have implemented in  python