fixed minor bug and fixed return type for getNumberOfCards()