Update EC2.md
Add a main method for BCD