Penny Nichols and the Black Imp by Clark, Joan
 is a Project Gutenberg book, now on Github.