added makefile, implemented stack