User blog comment:GamesFan2000/GamesFan's Array Function/@comment-37246647-20181110004033

Did a major alteration to the logic at the beginning.