Jacob's edit

Fixed word wrapping, narrowed margins and formatted code.