Added some methods to Statement.java and ResultIterator.java