Added some functions for changing current player and checking if draught can attack, also other small changes