Numerical Simulation of Gas Flooding, Water-Alternating-Gas Injection, and Foam-Assisted Chemical Flooding