fixed bugs
in-check check even before bad move working
add could become in-check case