Add Main class
Fix String representation of Operations' total() method