Added the array formation for the topleft corner. TODO all other special cases and general case.