(feat) one dimensional array rotation using brute force techniques
(refactor) minor arrangements to the code