started simulate function and included structure for runway. only a few functions missing -MM