Add Scala notes on apply, add bash examples for string processing