Added make file and fixed some bugs so it compiles
Merge pull request #14 from xLeachimx/makefile

Added make file and fixed some bugs so it compiles