Wrote a single method for all buttons in patternMatchingViewController.h