Add comments to alphabetizer and extract splitName function
Add comments for getRelationship
Fix formatting