Lee Algorithm demo