add tests
add clean.sh to remove *.pyc files recursively
add condition and iteartor to the flow class