output is correct needs error checking
If an address appearing in a use list exceeds the size of the module, print an error message and treat the address
as the sentinel ending the list. - solved