Jeff Foster said he was confident when he began writing in high school that he would someday publish a book. And earlier this year, that confidence paid off. Last summer the 24-year-old graduate student wrote “The Engine of the Gods,”…