added match method
Class for playing card