improved findCard/delete/deleteRand, implemented checkCard