Updated checkwin

Removed prints from the board check win in java, added a large amount of
functionality to the checkwin function which also compiles. Yay
compilation.