added ProblemOne class to implement abstract Problem