Added logic for maindoor

Main door has # objects that need to be found and how many have been.
Each room has the number of objects it has defaulted to 1. And when it
gets searched this numeber goes down. When all the objects are found the
maindoors open.