day2 self study and basic grep implementation