03: Write all functions. Pass all tests.