Implemtation of simple card game