Solutions in various languages for the red pencil kata