assignment1 for Advanced Data Management