Add functionality working with JOptionPane
Bug fix in expand()--array now successfully expands when need be
Add button working correctly now -- fixed multiple action listener bug
Reintroduced the writeToFile method