Problem ośmiu hetmanów w języku Java