The Variable Man by Dick, Philip K. Ebel, Alex
 is a Project Gutenberg book, now on Github.