Solving vapor-liquid flash problems using artificial neural networks