A Practical Guide To Computer Simulations