Solving the Advent of Code using Python