wrote vector method to verify if
-bishop
-queen
-rook
can move to the indicated square