Appear to have functioning code that will run in constant time.