Added makefile and changed datatypes to long