Fictional route planning in Java