Write a function that returns true if two rooks can attack each other, and false otherwise.
true
false
can_capture(["A8", "E8"]) ➞ true can_capture(["A1", "B2"]) ➞ false can_capture(["H4", "H3"]) ➞ true can_capture(["F5", "C8"]) ➞ false