working on Midterm, this is my working copy of MongoMark