The Lord Commander of the Night’s Watch wants to know if anyone is patrolling beyond the Wall. He has two checklists from the guards: beyondTheWall lists all who went beyond the Wall, and backToTheWall contains the names of all those who returned. Both checklists are already initialized as lists.
Help the Lord Commander to check whether anyone is currently on patrol. If there is no one beyond the Wall, the output should be true; otherwise, false.
Tip: If a watchman is back, his name will be on both lists. That is, if all the scouts have returned, the lists must match.
The order of lists doesn't matter.