Adding getLabels function
Tests!
Merge pull request #17 from rhyolight/get-labels

Adding getLabels function