added day3 base code
corrected typos