Logging

It adds logging - this way you can python3 algorithm.py & on an ec2 instance and kill your connection - if it finds something, you can find the key from the log.