reading problems and answers from file