Scheme implementation of iteration tools