Code for fundamental data structures and algorithms in C#