comiles, segfaults; added makefile