a java implementation of this popular card game