Young people in Thirsk have been given some keys modern life lessons, courtesy of an award-winning North Yorkshire author.