Advent of Code - preparing input data