Create MemoryDemo.java

Class Runtime.Demostrate totalMemory(),freeMemory() and gc()