Resident invents device to help protect bicyclists