Implementation of algortithms from the CLR book in Dart