Update Assignment4.java

Main method implemented. Tried to figure out how to generate permutations and store them in a list without an instance variable. Currently broken.