the ending is gotten by going right to the bottom repeatedly. I think I should make that a bit clear. I'll update it
thanks for playing