corner function

Corner of a matrix or data frame