splitting the examples into 3 sections

I spent a minute glancing over the example and I realized it's actually 3 separate code samples. just a small improvement. feel free to ignore it.