THanks for the reply. So do you think whatever the code I wrote earlier was good (as you said my github code looks fine only place I need to see is evaluate).
So what about the modified code I wrote above ? To which code I need to stick and debug?The above modified code or my github code!