A stigmergic approach to indoor localization using Bluetooth Low Energy beacons