Update "lists.pl"

Removed a superfluous "isDuped" clause, made some minor cosmetic
changes, and added comments.