Minor Edits including formatting and changing a few else:if: to elif: