Fixed typo in P24
Refactored P11 to reflect my new understanding of "modify the result of
P10"