HW1:task2: Dealed with memory in constructor(Calculator) & in test