added encode and decode for life and identity examples, moved sim parameter control into mrsim