convert number into array of digits python