Java implementation of playing cards