Added working solution for 'sumSlice'