See if there are any algorithms that could be improved on or loose ends that could be tied up. The code was written over a year ago when I was new to Python so is unlikely to be efficient.