implemented model logic for three card mode
add uisegmented control to switch game modes