Update CardMemory.py

Visit www.codeskulptor.org to run code.