still iterating through subwords, but it works. Now to handle multiple parents
Switched from while(1): -> break to while not done:
Added MIT License