Added randregexnfa script
NFA now accepts Reader object