Add a stupid array shift algorithm.