Writing Math Research Papers: A Guide for Students and Instructors