Finishing up c++ code for final hw. Fixed all figures.