Write a NumPy program to create a 2d array with 1 on the border and 0 inside. Return the 2d array.
Example 1:
Input: None
Output: array([[1, 1, 1, 1, 1], [1, 0, 0, 0, 1], [1, 0, 0, 0, 1], [1, 1, 1, 1, 1]])
Example 2:
Input: None
Output: array([[1, 1, 1, 1, 1], [1, 0, 0, 0, 1], [1, 0, 0, 0, 1], [1, 1, 1, 1, 1]])