A simple format function, inspired by gofmt