Update samflag.py