day2 2nd code

2nd code of class 2