Alternative implementation of list-to-number

- using drop-while and reduce