Add a number to array and if there is carry increase array size.