Create empty code book