vectorizable algorithms/excercises - C#