The war between Uber and Lyft will be won with an algorithm