Sam's Chance, and How He Improved It by Alger, Horatio
 is a Project Gutenberg book, now on Github.