Added Boundary Detection

Now to devise some fun addons! : )