created HP/compare_k.cpp and completed pull moves func