Students say the idea for the alarms came from their own experiences with unwanted attention in public.