Turned simulation into a method.
Factored out simulator into its own module. Began writing simulation engine code.