How to Write Simulations Using Microcomputers