Added Coin Row algorithm