A two-dimensional molecular dynamics simulation of liquid-vapor nucleation