Arbitrary rotation and entanglement of flux SQUID qubits