Updated code. Added a few notes. Done for tonight