add a template of makefile
change sort.cpp to support get input stream by ,