implemented CharSequence and Serializable interfaces
added UnionFind
added j/algo
changed line endings to Unix style
implemented Serializable