A new art gallery algorithm for sensor location