Mahesh — Thanks for your quick response. The Voting.sol compiles well within the solidity online playground.
I am not using testrpc. In fact I am trying to connect to my private blockchain running the Parity client — you can repeat this example by going here and setting up a Parity based ethereum network. https://github.com/dstarcev/parity-poa-playground.