A Guide to simulation