Added code samples to index.html