I was just trying to run your program on my machine when I was met with this issue:
FileNotFoundError: [Errno 2] No such file or directory: './genomes/Cheedle Gavin'
I assume this is because I don't have a local directory with this name on my machine, so perhaps including os.mkdir() somewhere in the code would correct the issue? Or maybe save_genome() isn't working?