Works
Added comments
added comments and some work
fixed formatting.
No longer needed