Design study of a tokamak reactor