Update ModelViewController.java

Added a function to clear the diagram when the user selects a file to open.