Code to compute Z_2 index

I implemented the Z_2 index formula into the code and developed an
algorithm to compute it for a topological material.  The numerical
results are published in my research article: Phys. Rev. B 85, 205136
(2012).  The detailed discussion of the Z_2 formula can also be found
in the paper.