MondoDB class: hw2 completed