checking for check more work done

still some bugs but checking for check in valid moves is nearly done