Update mergesort.py

changed the condition