Rename Main to Driver
Add generate in new Main class
Change output from JLabel to JTextArea (editable set to false)