@Override
    //override method predict() from interface
    public String predict(){
        String s;
        int x = (int)(Math.random()*10);
        if(x <= 5){
            return s = "Head";
        }else{
            return s = "Tail";
        }
    }