Here's the nextblock implemented to only spit out I blocks.

SHE WORKS