Added CPE Functionality to the QA System (Task 1 of HW3)