Python Generate Sequence Of Integers