Diagonal 1 display algrithm finished.

Finish the first kind of diagonal display algorithm.