Added functionality 'addCards'  to player class