Added function pointer to sample_loading.c, modified Makefile to build main chdkptp.c