added index.html file to run a demo
reset the code the the demo code
added array to store the data generated