Add pseudo code to REAME file

Add pseudo code to README file