rewritten method match in PlayingCard for assignment 1, can treat now up to 2 cards
successfully written required method for performing check for match 3 cards