Changed iterator from list to sequence

http://codereview.stackexchange.com/questions/57625/transform-bitmap-object-into-jagged-array-of-rgb-tuple-values/57632#57632

See comments.