Advent of Code Day 6-Maps, Sets and Optimizations