adding diagnostic.rb
changes
updates
more updates
fixed end errors
1 left
no errors