Implemented random card generation