Learning scala with simple breakout clone