Python Initialize Array With Increasing Frequency