Create k_merge.py