Text this: Numerical Simulation of Passively Q-Switched Solid State Lasers