added problem 3 answer to the files.