Please see http://www.radford.edu/itec380/2009spring-ibarland/Homeworks/Hw07/hw07.html