Added code sample to home page