Assignment 2: task 2-g (a card game) [more tests are yet to be implemented]