added codebook.md, dataTiy.txt and almost complete implementation of R script