Added solution for 'Map'