adding concluding output lines that call on a few variables
almost there
Clean up extra notes and bits of code - now done!