Added the newLeft assignment.:
Rewrote the assignments statements because of the numbering being out by 1.