Plot multiple boundaries

The code can now plot multiple boundaries