Tomaluso Algorithm - Comp Arch