Code below is for pattern \'a\', feel like once I get \'a\' I could get the others.
I like the array[int].length syntax in java and was helpful to get the pattern to