Calculator class written with on add function that return 0