Change all implementation files to the end of the g++ command and added .out to the clean up routine
make the static library come after all the implementation files