Solitaire with text-based interface in C