Update corpus.py

A couple parts of the loop got whitespaced to the wrong place, causing failure when a slash occurred.