You'll learn about purifying shadow pokemon in the 2nd town, during the storyline, you can't miss it. About the first leader, as the NPCs say, water type moves are good due to being strong in that terrain. I also recommend a poison type in your team, even if it's lvl3, just to absorb the toxic...