left-down-right-up diagonal and horizontal gates done