Fixed groups iterating in cpp binding
Merge pull request #23 from euroelessar/master

 Fixed groups iterating in cpp binding