Advent of Code 2018: Day 2