Tom Hanks turns writer for ‘Greyhound’