paste in code for world constructor and printing