added precompile and bcstr to python NFA class