Solved questions #1 and #3.
Added plot.
Fixed .gitignore.