finish implementing handleDoneCommand in Analyzer and handleDoneInput in UserInputHandler, relevant test cases had been added to TestAnalyzer as well