Create exercise2_4.dart