added root files and code, as well as an example