A simple Flow-Shop-Scheduler in Java