added partially-completed Day 1 code