A fully implicit, time dependent 2-D fluid code for modeling tokamak edge plasmas