Adding first algorithm for 2 extra moves