Implemented char classes in stringGenerator