Finished Parser.java

Should be completed now, no troubleshooting done yet