implementation of King's Corners solitaire