Take command line argument to select pattern.  3 and 4 are implemented.  Pattern 4 takes a skip parameter