add day4 exercise

First two parts