add scala day3 exercise1