previous implementation of highlow didn't work, so I've re-implemented it using two arrays instead.  will try to figure out how to do it in-place with 1 array later.