updated bitbucket guide with better code examples