It is a learning note of scala language