Advent of Code 2019 - Day 1

My solution.