First commit

Pretty much a copy paste of Norvig's paper.