Create the code book