Implement some very basic functions and their tests.
Update README.