The Hanging Stranger by Dick, Philip K.
 is a Project Gutenberg book, now on Github.