Updated Makefile, updated README.md, fixed a bug where deleting allocated memory would cause a segmentation fault