Python Generate Array Of Integers Counting Up To 10