Repeat-until-success quantum computing using stationary and flying qubits (14 pages)