Modified the function deck_compareCards
Rewrite the tests for the function deck_compareCards