added feature for deleting problem, submit answer