Moved example in a separate project and exported the logic as a .jar file.
Restored the gitignore.
.jar files are now allowed.
Deleted the .class files that were accidentally added.
Moved the list inside the main method.