corrected bug in script

Forgot to load the reshape2 library
Create the code book

Creating the codebook and dataset