Put some hopefully helpful pseudo code in README