Producer-Consumer Type of Problem
Experimented Java Multithreading in this multiple producer-multiple consumer problem. The space explorers and the headquarters are both consumers and producers, switching their roles.
How to run:
java Homework <wormHoles> <hashCount> <federationHQCount> <spaceExplorerCount>