removeCard function added and updated the addtoHand function