Fix whitespace.
Don't default location to None, because the function crashes when location is None.
Define locations once.
Removed commented markup.
Remove unused total schools calculation.