Fixed layout of trivia activity and added the script to generate random questions and answers