Hi Brahma, 

Thanks for the response, i am new to this so if you can please provide me with the pseudo code that helps.