resolve ties
Add dealing of cards
Add a simulation of frequencies and fix bugs
more bug fixed