diagonal moves now work correctly, but there is bug when using them, that the number of white and black pieces changes