Implemented a solution in scala
Merge pull request #73 from legalosLOTR/master

Implemented a simpler scala solution