extracting conwayRuleEngine
putting conwayERuleEngine into separate file