modified creation of deck to make only x number per card based on database