Added histogram and frequency distribution of 1s.

Can also selectively print the lattice to StdOut. Can select a bin size
for the histogram and frequency dist.