added the code
new diagram sheet
rest of the code :)