Java maze generation application