added intial card generator
Sorted and compressed cards