Added initial pseudocode sketch.