Guide to Build Algorithms