wrote half of the diagonal checker

- the other half needs to be written