mergesort in python
added comments