Initial version of the CodeBook

Follwed the methods as is in the lectures