Solution to exam2 task1 using lodash #18