checking for valid mac address input