Advent of code 2021

In each case, the solution will be revealed by piping the input or test file into part1.rb or part2.rb.

e.g. For day 3:

$ ruby part1.rb < test
198