design and implement an access control circuit for my research lab. There are two inputs - a key card swipe on the door that produces an ID in the 0..7 range, and a day/night sensor that is 1 during the day, and 0 at night. The access rules need to be implemented as follows:
- IDs 0, 2 and 4 belong to faculty - they have access anytime, day or night
- IDs 1 and 3 belong to research assistants - they have access during the day, but not at night
- IDs 5, 6, and 7 are unused, and do not have access at any time
by Using Logisim, implement the logic function for the circuit, where the output is a 1 to open the door, and 0 for the door staying locked.