Added functions to check for presentation errors

Added the functions pass_check and it's helper function check_words.
The function implements all presentation error checks but the numerical
rounding error so far.