LIBS=-lbsd added to makefile, now using strmode
snprintf to sprintf
snprintf in print.c change to printf
ifdef for bsd/string.h added