Gas Station Problem Greedy Algorithm