Doing some array operations and learnt about the yield keyword in Scala
Looked at some more array operations.