Solved #16 in scala
Updates gitignore