Code from http://coinyecoin.org/.  http://d.coinyecoin.org/coinyecoin.tar.gz