Moved fortune algorithm to its own directory.