Added makefile and fixed pointer bug in blinker.cpp