Initial code commit

Code containing the function to be tested as well as the tests
themselves.