added output title in output box
shortened problems view function by building 2 helper functions to evaluate user inputted code and return problem status - correct/incorrect