Proper Shuffle solutions

Proper Shuffle was solved using C by 4 contestants. Solution sizes: average 1479 bytes (shortest: 840; longest: 2298).