Method pluck added with its tests
Added sum method and its tests