Learning By Authoring an Intelligent Tutoring System