Added complete and refactored solution for Problem - Maillists