better atom handling

atoms to atomic number and vice versa
unit test