public void setCombination(int x, int y, int z){
        if(x < 0 || x > dialSize){
            throw new IllegalArgumentException(x + 
                    " is not a valid combination number");
        }else
            this.x = x;
        if(y < 0 || y > dialSize){
            throw new IllegalArgumentException(y + 
                    " is not a valid combination number");
        }else
            this.y = y;
        if(z < 0 || z > dialSize){
            throw new IllegalArgumentException(z + 
                    " is not a valid combination number");
        }else
            this.z = z;
        //with out this I noticed when I changed combos the lock
        //would not open correctly so the top number gets reset to 0
        do{
            dialItr.next();
            }while((Integer)dialItr.current.getValue() != 0);
        currentTopNumber = (Integer)dialItr.current.getValue();
    }