Minor output updates and added Scala implementation.
Ignore .cache