add .gitignore
add solutions to problems 9 & 10