added dealer logic and win checker