Moved some of the logic to the TestFile class also made it so the colour
of the progress bar changes based on whether or not the answer is
correct. The bar is also relative the number of questions.