public boolean contains(String code)
    {
        for (int i = 0; i < rows.size(); i++)
            if (code.equals((String) (rows.get(i)[1])))
                return true;
        return false;
    }