Reformatted code and added notes in rot13.py.