The backend for the game is built upon from the checkmate repository.
- remove illegal moves which cause allow the king to be killed in the next move
- when board is copied while trying to caculate illegal moves, instead of a new array of null objects being created, the board gets replicated before it is intended.