Update 99problems.md

Problem 49 was incorrect. The second half of the list needs to be reversed.
What is the reason for using pattern matching?