Issue 17

Added internal mapping from (Nodes, Bonds, Actions) to labels.
A side note, this function should definitely be renamed to "addLabel" to reflect its semantics. Probably better to do it in a separate pull request.