Updated the Makefile to embed R and started working on td_r.cpp file.
Merge pull request #2 from kaneplusplus/master

Updated the Makefile to embed R and started working on td_r.cpp file.