Changed package name, extend Comparable interface.
Added comments, package, adjusted methods.