Lab 1 Program that simulates a flex pattern for (a|ab*ab*ab*ab*a)*