Design of an undulator for A.C.O. and its possible use as free electron la ser