The initialisation function will receive the number of the core it is running on.