Created story result based on user input and stored the value in variable storyResult