Border Array

Hi! It depends on you actual problem. For example, what will be this used for?