Yay! Everything appears to be working, except for..

..this:

Traceback (most recent call last):
  File "hw1.py", line 169, in <module>
    test_multiples(n)
  File "hw1.py", line 131, in test_multiples
    if not test_binary_string(bin(i)[2:], r, n):
  File "hw1.py", line 145, in test_binary_string
    match = re.search(r, s)
  File "/usr/lib64/python2.7/re.py", line 142, in search
    return _compile(pattern, flags).search(string)
  File "/usr/lib64/python2.7/re.py", line 240, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/lib64/python2.7/sre_compile.py", line 511, in compile
    "sorry, but this version only supports 100 named groups"
AssertionError: sorry, but this version only supports 100 named groups

Signed-off-by: Andrew Tselischev <andrewtselischev@gmail.com>