Code written by me for implementing popular algorithms