Refactoring to more managable and testable code, #16

	modified:   cellular_automata/cells/regular.py