win & lose mechanism implemented.

Next need to implement diagonal win-checking.