fully implemented program that filters active and inactive hexadecimal IDs using a HashMap