Given a number represented as an array of digits, plus one to the number.