put examples of lapply and sapply