Base commit with movement code and pseudocode for algorithm.