Added docstrings in ec2.py

Signed-off-by: Shashank Sahni <shredder12@gmail.com>