Added threads to conway, and test code to main.