Update pearls.py

Fix typo in partition(p, l)