Baby Step Giant Step algorithm implemented in Python with functions also implementing the Russian peasant algorithm and the extended gcd algorithm. Uses python dictionaries to store baby list.