Graph Invariants - A Tool To Analyze Hydrogen Bonding In Ice And Water Clusters