Updated and improved the documentation (examples)

The ec2 module documentation was in a bad way, so this update improves with better examples.