A simple card matching learnt through Stanfords iOS course