Copy the content in your folder to ns-allinone-3.36.1/ns-3.36-1/src (clock, tsnwifi, core, network, wifi and tsn) and replace the scratch folder with the existing folder to run the examples.
Copy the directories clock, tsnwifi, core, network, wifi and tsn to ns-allinone-3.36.1/ns-3.36-1/src