change values entered into list to numbers instead of str