implemented UISegmentController to choose between 2-cards and 3-cards game