update solution two of gas-station