Added source code. Updated README.