Creates an instance of Algorithm class.
const Algorithm({ List<Move> moves = const [], }) : _moves = moves;