Updated javadoc and cleaned up code on MemoryGameComponent.java