My first attempt at a chess engine in JAVA