fleshed out check/checkmate. still some problems to resolve.