Fixes small syntax errors
Adds makefile