Simulation Of Electromagnetically Induced Transparency And Absorption