Complex sentence: They find themselves housed together as they did not "fit in" when they slept in the dormitories for everyone in Discipline Cottage to learn and use their new-found magical abilities.
Split into simpler sentences: They find themselves housed together as they did not "fit in" when they slept in the dormitories for everyone. In Discipline Cottage to learn and use their new-found magical abilities.