a few python programs