Periodictable

New pull request to replace #58.  Just dump the old one.