Space Prison by Godwin, Tom
 is a Project Gutenberg book, now on Github.