add electric-pair-mode as an option

by using electric-pair-mode on Emacs >= 24 we can force emacs to automatically insert closing parentheses or bracket