Alogrith to solve suku game