Board does not allow putting piece on a taken square and removed x and o classes