Advent of Code Day 14-Counting Bits and Regions