added deal method to deck class