createPattern()
-Splits pattern into array based on newline chars
-Loops through each line, generating stitchBlocks and rows of stitches
-Checks for uneven row lengths and generates empty stitches if needed
-Generates BO and CO rows
-Returns outputPattern to controller
generateOneRowOfStitches():
-Loops through an ArrayList of stitchBlocks, generating stitches based on stitchBlock counts
checkForRange():
-Checks line for int-int pattern and calculates number of additional rows needed
generateStitches():
-Generates stitches based on stitchBlock count
generateStitchBlocks():
-Searches string for knit/purl patterns and creates appropriate stitchBlocks
generateCastOnRow():
-Generates row of CO stitches based on length of one row in pattern
generateBingOffRow():
-Generates row of BO stitches based on length of one row in pattern
generateEmptyStitches():
-Generates additional empty stitches based on extraStitches int
-Adds stitches to row and returns