Create  code book