movegen for rook, bishop and queen