I got the structure of the code but did not get every details right

Revision graph

The revision graph only works with JavaScript-enabled browsers.