Made it work kind of. Theres still an error.

It doesn't care about who's turn it is it will move either a white or black piece. Also we have a lot of Piece logic errors.