Peter Kerr's new book goes inside the mind of Border collie