Create cardlib.c
Merge pull request #2 from sudibs/patch-2

Create cardlib.c