added isEmpty() to deck