Gunman's Reckoning by Brand, Max
 is a Project Gutenberg book, now on Github.