Add solution for hw5.4 mongo