Ten-year-old author pens book to cope with loss of his mom