some coding challanges with python