working on diagonal helper method

trying a new for loop