added PDF creation to loan calculator example