commit the completed programming assignment 2