Example of computing n-dimensional hyperspheres by Monte Carlo methods, both threaded and non-threaded