Break in Scala
Added few test cases which I will implement later
Problem 1 solved