Added algorithm for vocab quizes

Signed-off-by: Tabor Kvasnicka <kamakwazee@gmail.com>