update makefile with CFLAGS, add sort, select and RandomArray files