First set and Follow set generation algorithm simulation