finish scala day3 text part