finished part 1

name to number function