Added code samples and other figures