Day 10I accidentally solved part 2 while trying to do part 1 without realizing it so i don't have separate functions for the two parts.