Basic iterative version working correctly

TODO:

Implement pattern loading from text files.
Implement a pattern creator (a grid which a user can click to create
patterns with)
Create a pattern dictionary (a class containing pre-define patterns)