Probabilistic Qualitative Localization and Mapping