static public int actionToColumn(String action)
    {
        if( action.equalsIgnoreCase("a") )
        {
            return 0;
        }
        else if( action.equalsIgnoreCase("b") )
        {
            return 1;
        }
        else if( action.equalsIgnoreCase("c") )
        {
            return 2;
        }
        else if( action.equalsIgnoreCase("d") )
        {
            return 3;
        }
        else if( action.equalsIgnoreCase("e") )
        {
            return 4;
        }
        else if( action.equalsIgnoreCase("f") )
        {
            return 5;
        }
        else if( action.equalsIgnoreCase("g") )
        {
            return 6;
        }
        
        return -1;
    }