+1 I like the idea of adding a little pseudocode demonstrating this.