Update WOW3.txt

updated the code for problem 2