adds a looping feature to iterate over my category array
refactors the answers of the question array
adds the append category to category row
adds the function that writes categories to the dom