created new variable numCardPerimeter

calculated the number of cards needed to go around the perimeter