First commit

Added tests, initial functions, and one failing test.