start on issue #216 - write "findDoorFor" function.