@killerfish There's a lot of data transformation happening here. I think that it would be easier to follow if variables like `temp`, `array`, `j`, and `k` had more descriptive names.