write writes the map of anagrams to a file file specified by fname. The use of os.OpenFile (instead of os.Create) is to demonstrate the use of panic() which is generated when OpenFile returns an error.
(fname string, anagrams map[string][]string)
source not stored for this graph (policy: none)