Added the answer to A.3 and updated the .gitignore.