Scientists have discovered the fossilized brain of a fish in a 319-million-year-old fossil.