Simple implementation of Zxid

Simple implementations of Zxid.  I'm expecting a lot of suggestions since this is my first project in Java. :)