Relax a computer code for the study of collisional and wave driven relaxation of the electron distribution function in toroidal geometry