Switching code to Java 8 compatible.

Added GEXF exporting functionality and switched to Java 8 compatible code!