Cleaned up spaces for PEP8.
Refactored rolling script to use appropriate data structures.