Tracking Pedestrians Indoors Using Their Smart Phones