Update IEx.pry documentation

Modified example that works with the current version of Elixir. Fix some typos in the pry console.
Merge pull request #2390 from benjamintanweihao/patch-3

Update IEx.pry documentation