Added influenced_squares implementation to rook and queen