Michael Brigham Final Code

Partially tested full run code.