add the source code elements multilipication

the source code of my blog:http://my.oschina.net/liuzeli/blog/128062
it contains two methods