21 Card Trick written in C (Linux)