simulation homework