Refactoring to use same method for both diagonals
Finished refactor to use one method for both diagonals. Now runs without error.