################################################################
#
# The following is an R implementation of the moving blocks bootstrap
# following Efron and Tibshirani (sec. 8.6).
#
# We create some artificial data:
N