public void Test(String pathToPDBFile) throws StructureException
    {
        boolean bSucc = false;
        bSucc = load(pathToPDBFile);
        if(!bSucc)
            return;
        
        List<Chain> chains = getChains();
        if(chains == null)
            return;
        
        for(Chain chain: chains)
        {
            System.out.println();
            System.out.println(chain.getChainID());
            List<Group> groups = getGroups(chain.getChainID());
            int icount = 1;
            
            int num = groups.size();
            for(int i=0; i<num-1; i++)
            {
                Group gi = groups.get(i);   //get the amino acid in the position i
                double[] giCrods = getCbCords(gi);
                for(int j=i+1; j<=num-1; j++)
                {
                    Group gj = groups.get(j); //get the amino acid in the position j
                    double[] gjCrods = getCbCords(gj);
                    double dist = calDistance(giCrods, gjCrods);
                    //System.out.println("\t" + giCrods + "\t" + gjCrods + "\t" );
                    System.out.println("\t\t" + i + "\t" + j + "\t" +Double.toString(dist) );
                }
            }
            
            /*for(Group group: groups)
            {
                System.out.println("\t" + Integer.toString(icount) + "\t" + group.getType() + "\t" + group.getPDBName());
                List<Atom> atoms = group.getAtoms();
                for(Atom atom: atoms)
                {
                    System.out.println("\t\t" + atom.getFullName() + "\t" + Double.toString(atom.getX()) + "\t" + Double.toString(atom.getY())+ "\t" + Double.toString(atom.getZ()));
                }
                icount++;
            }*/
        }
        
    }