This was not one of the regular programming assignment in the course. In class we did something like the program that is made up of the two files Dots.java and MouseDotCompoenet.java (You will find them in this folder). It draws a dot wherever the user clicks, and connects the dots with lines. On Exam 1, I asked students to extend this program in the following ways: Enhance the Dots program by adding the following features. You can substitute your own code for my code if you wish. If you use my code, the places where I expect you will need to add code are marked with the word TODO. The features that you are to add and their point values are in the table below: The first point that is clicked should be displayed with a red dot. If there has been more than one click, the last point clicked should be displayed with a blue dot. The point that is farthest from the first-clicked "red dot" point should be displayed as a magenta dot, unless it is also the first or last clicked point. The first clicked point is always red, and the last clicked point (if there are at least two points) is always blue. Any point that was right-clicked should be displayed as a green dot (unless it meets one of the above criteria would cause it to be red, blue, or magenta). SO a dot is never green when it is first clicked. If it is right clicked, and it is not the farthest one from the first-clicked button, it will turn green as soon as another click happens. You may find the MouseEvent class's getButton() method and BUTTON3 constant to be useful here.