updated comments on python programs