codem in python
- The code may be written in C, Java or Python. - Report submission is mandatory. You must submit a report in addition to project files. Product Stock Tracking System * All implementation must be done with a binary search tree (BST) data structure. Assignment will not be graded unless done with BST. $ It is forbidden to use ready classes such as the Treeset class under java.util. The product tracking system, keeps the product information and the product quantities in the stock. Each product assumed to be a node in the tree must have the properties in Figure 1: Instructions 1. Load initial data (10 pts): When the program runs for the first time, at least five products must be already inserted. You can call insert function/method and directly insert these products in code behind. 2. Menu ( 8 pts): The program must have a menu that enables the user to select the required operation. Your program must do the operations between instruction 3 and instruction 8 . 3. Insert a new node (20 pts): If user selects this operation; she/he is prompted to enter barcode number, product name and product quantity properties. The product record is added to the tree sorted due to the barcode number. If you examine the sample illustration in Figure 2 , all records are placed numerically ordered due to the barcode number. 4. Increase the quantity (15 pts): If user selects this operation, she/he is prompted to enter the barcode number and the increment amount. The quantity of the corresponding product is increased by the input amount and updated. The records are printed in order traversal. 5. Decrease the quantity (15pts): If the user selects this operation, she/he is prompted to enter the barcode number, and the decrement amount. The quantity of the corresponding product is decreased by the input amount and updated. The records are printed in order traversal. 6. Print in-order ( 8pts ): Barcode number, product name and quantity of all records are printed according to "in-order traversal". 7. Print post-order ( 8 pts): Barcode number, product name and quantity of all records are printed according to "post-order traversal". 8. Print pre-order (8 pts): Barcode number, product name and quantity of all records are printed according to "pre-order traversal". 9. Report submission ( 8 pts): You must prepare a report for your projects. A sample report file is attached please fill all necessary parts in the report. The screenshots in the report are necessary in case your applications can not run in my computer