Update first and follow sets

Updated the $ rule