@Override
    	public boolean equals(Object o){
    		if(!(o instanceof Sum)){
    			return false;
    		}
    		Sum comparing = (Sum) o;
    		if(comparing.quarter == this.quarter && comparing.dime == this.dime 
    				&& comparing.nickel == this.nickel && comparing.penny == this.penny){
    			return true;
    		}
    		return false;
    	}