Example code to show Cell Patterns
Remove debug messages.
Rotation Validation
Refactoring