Finished Code and Notes

applied nots to code and ran tests to ensure it works