Programming Basics for Logistics Algorithms