added makefile for ms, stats, and sample_stats