added variable a
Rebased commits using squash.
Made some changes to test.cc