Added result-check for checking how good/bad are generated tests. random.cpp now prints out in LaTeX. random-table.sh tests the second scenario for 20..40.