Removed warnings in Main.java

+ Scanner now closes after quitting the chat
Client now receives messages!

+ Client now divides into 2 Threads, one for reading, one for writing