solved problem 23 (and ran go fmt on a couple of files forgotten previously)