moved main() to Calculator class, added reset() and printLineResult()