参考にしたサイト http://michaelsan.livedoor.biz/archives/51812182.html
http://www.nicovideo.jp/watch/sm22382948