Implemented method to test if movement go through another piece.