fn parse_machine(line: &str) -> Machine
Convert light patterns and buttons to bitmasks to speed up part one.