Are these sentences correct?<br/><br/><ul><li>He walked toward the door, and when he approached, it opened, and someone walked in and greeted him.</li><li>When he walked toward the door, someone walked in and greeted him.</li><li>Someone walked in and greeted him when he walked toward the door.</li></ul>