Java simulation of Scoreboard (instruction scheduling) algorithm.