Updates to Pattern class

-grid should now be scalable by constructor param @size
-all modes have been added to class
-simple unlocks and double unlocks are implemented and need testing
-only one triple lock is implemented and needs to be tested