Added functions to do Presentation Error Checking

The functions I have written have been tested and work correctly, I
added them into the main .cpp file and edited a few of the functions to
use and account for if something is correct with presentation errors.  I
have not tested if it integrated correctly yet.