Adding .gitignore and unit tests for Buffer class from BitBucket.