Update Main.java

Added Library loader, to load a particular library depending on what OS the program is running on