lab4performance.cpp, comments, some magic number clean up, and formatted for printing