Day 1 finished code