Added function fractalFromString