tested numCardsPerimeter

tested to see if calculation was right.