string functions apparently working and makefile corrected