Updatingth  figur code with some more comments
Upadting the comments some more