codility - tapeequilibrium