edited formatting and comments on all programs