add the StatementIterator to use instead of an array
add namespace declaration
Merge pull request #3 from Faryshta/StatementIterator

Statement iterator