A molecular dynamics simulation of liquid-vapor interfaces in two dimensions