PEP 8: You lack discipline.

PEP8 compliant formating

Updated Templating and changed `rates` to `xrange(1,13)`