Finally figured out why packages weren't being able to be imported. The pythonpath var wasn't correct: it needs to be set to codesort_proj folder.

Added beginnings of unit testing for split_into_blocks function.