Doing examples from the Nature of Code book