Adds call to tree depth counter functions to main

- Main function now calls the initialisation and populate tree depth
counter functions.