Write a program to find sum of first 10 numbers using lambda function