Added util.go (was added earlier but forgot to add it to source control)