A Functional Scientific and Artificial Life Simulator