Update tutorial to use RootObj

TObject has been deprecated in a recent release of Nim.