add travis badge to README
Merge pull request #21 from zblz/travis

add travis badge to README
accept quantities or array, store quantities