Successfully passed all tests in commitmentTest.java. Yay!