An Indoor Localization System for Nursing Homes Based on RSSI