Branch_A update

Adding function to A.
Merge pull request #1 from vishangshah/Branch_A

Branch_A update