after medical school dicky interned as an endocrinologist ; however he soon found the puzzle of getting people and their conflicting egos to work successfully within an organization to be much more intriguing than why their organs failed .