changed code to c++ added makefile improved code to produce a pitch
histogram