Clean up datatypes.h. Add Makefile

* Created ridiculously simple Makefile with basic rules
* Wrapped datatypes.h in ifndef so as to not redefine structs
* Fixed allocation inside of for-loops