documentation fixes

Pseudocode more language agnostic
Stopped using the word random