Adds working versions of makefile.cpp, statistics.cpp, and distribution.cpp