added pseudocode

pseudo alg for basic question generation, easily expanded upon but
should be enough for alpha