card lister - Java exercise