infinite loop example in python