How to Actually Do Segmentation — The Basic Algorithm — Next Move Theory