Add .travis.yml
Tidy code
Could not reproduce concurrent bug #5
Trying to reproduce with example code #5
Fix concurrent logic, closes #5