Update Assignment4.java

basically this is the main class, I didn't include the methods that actually process the letters. My main class so far only reads data and can process the string of distinct letters in each test case. I did not include pointers to the edges because I don't know how we are doing it what with the methods we already have.
Just run it and see.