Langton's ant in java