added pseudo code

commit to redball