Implemented majority of the functions to determine if answers are correct. Also implemented the ability to store results into the database