https://puresourcecode.com/dotnet/fsharp/the-reduce-function-in-f/
The reduce Function in F#