Dartify the algorithm further (find bestChoice the functional way)