An automatic clustering algorithm inspired by membrane computing