Started code
Got .length to work by changing dictionary into a list.
Array created, and tested to make sure all doors are closed.