[Python-ideas] Circular Indexing and FOR loop minimization