prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Imported classes should be arranged lexicographically
  Classes being imported in `coala/coalib/bearlib/languages/__init__.py` file should be arranged alphabetically.
  
  A good newcomer issue. 
  
  </issue>
  <code>
  [start of coalib/bearlib/languages/__init__.py]
  1 """
  2 This directory holds means to get generic information for specific languages.
  3 """
  4 
  5 # Start ignoring PyUnusedCodeBear
  6 from .Language import Language
  7 from .Language import Languages
  8 
  9 from .definitions.Unknown import Unknown
  10 from .definitions.antlr import antlr
  11 from .definitions.Bash import Bash
  12 from .definitions.C import C
  13 from .definitions.CPP import CPP
  14 from .definitions.CSharp import CSharp
  15 from .definitions.CSS import CSS
  16 from .definitions.D import D
  17 from .definitions.Fortran import Fortran
  18 from .definitions.Golang import Golang
  19 from .definitions.GraphQL import GraphQL
  20 from .definitions.html import HTML
  21 from .definitions.Java import Java
  22 from .definitions.JavaScript import JavaScript
  23 from .definitions.JSON import JSON
  24 from .definitions.JSP import JSP
  25 from .definitions.KornShell import KornShell
  26 from .definitions.m4 import m4
  27 from .definitions.Matlab import Matlab
  28 from .definitions.Markdown import Markdown
  29 from .definitions.ObjectiveC import ObjectiveC
  30 from .definitions.PHP import PHP
  31 from .definitions.PLSQL import PLSQL
  32 from .definitions.PowerShell import PowerShell
  33 from .definitions.Python import Python
  34 from .definitions.Ruby import Ruby
  35 from .definitions.Scala import Scala
  36 from .definitions.Swift import Swift
  37 from .definitions.Tcl import Tcl
  38 from .definitions.TinyBasic import TinyBasic
  39 from .definitions.Vala import Vala
  40 from .definitions.TypeScript import TypeScript
  41 from .definitions.Shell import Shell
  42 from .definitions.Jinja2 import Jinja2
  43 from .definitions.VisualBasic import VisualBasic
  44 from .definitions.XML import XML
  45 from.definitions.ZShell import ZShell
  46 # Stop ignoring PyUnusedCodeBear
  47
  [end of coalib/bearlib/languages/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/coalib/bearlib/languages/__init__.py b/coalib/bearlib/languages/__init__.py
  --- a/coalib/bearlib/languages/__init__.py
  +++ b/coalib/bearlib/languages/__init__.py
  @@ -7,6 +7,7 @@
   from .Language import Languages
   
   from .definitions.Unknown import Unknown
  +
   from .definitions.antlr import antlr
   from .definitions.Bash import Bash
   from .definitions.C import C
  @@ -20,12 +21,13 @@
   from .definitions.html import HTML
   from .definitions.Java import Java
   from .definitions.JavaScript import JavaScript
  +from .definitions.Jinja2 import Jinja2
   from .definitions.JSON import JSON
   from .definitions.JSP import JSP
   from .definitions.KornShell import KornShell
   from .definitions.m4 import m4
  -from .definitions.Matlab import Matlab
   from .definitions.Markdown import Markdown
  +from .definitions.Matlab import Matlab
   from .definitions.ObjectiveC import ObjectiveC
   from .definitions.PHP import PHP
   from .definitions.PLSQL import PLSQL
  @@ -33,14 +35,14 @@
   from .definitions.Python import Python
   from .definitions.Ruby import Ruby
   from .definitions.Scala import Scala
  +from .definitions.Shell import Shell
   from .definitions.Swift import Swift
   from .definitions.Tcl import Tcl
   from .definitions.TinyBasic import TinyBasic
  -from .definitions.Vala import Vala
   from .definitions.TypeScript import TypeScript
  -from .definitions.Shell import Shell
  -from .definitions.Jinja2 import Jinja2
  +from .definitions.Vala import Vala
   from .definitions.VisualBasic import VisualBasic
   from .definitions.XML import XML
  -from.definitions.ZShell import ZShell
  +from .definitions.ZShell import ZShell
  +
   # Stop ignoring PyUnusedCodeBear
  
verification_info: {"golden_diff": "diff --git a/coalib/bearlib/languages/__init__.py b/coalib/bearlib/languages/__init__.py\n--- a/coalib/bearlib/languages/__init__.py\n+++ b/coalib/bearlib/languages/__init__.py\n@@ -7,6 +7,7 @@\n from .Language import Languages\n \n from .definitions.Unknown import Unknown\n+\n from .definitions.antlr import antlr\n from .definitions.Bash import Bash\n from .definitions.C import C\n@@ -20,12 +21,13 @@\n from .definitions.html import HTML\n from .definitions.Java import Java\n from .definitions.JavaScript import JavaScript\n+from .definitions.Jinja2 import Jinja2\n from .definitions.JSON import JSON\n from .definitions.JSP import JSP\n from .definitions.KornShell import KornShell\n from .definitions.m4 import m4\n-from .definitions.Matlab import Matlab\n from .definitions.Markdown import Markdown\n+from .definitions.Matlab import Matlab\n from .definitions.ObjectiveC import ObjectiveC\n from .definitions.PHP import PHP\n from .definitions.PLSQL import PLSQL\n@@ -33,14 +35,14 @@\n from .definitions.Python import Python\n from .definitions.Ruby import Ruby\n from .definitions.Scala import Scala\n+from .definitions.Shell import Shell\n from .definitions.Swift import Swift\n from .definitions.Tcl import Tcl\n from .definitions.TinyBasic import TinyBasic\n-from .definitions.Vala import Vala\n from .definitions.TypeScript import TypeScript\n-from .definitions.Shell import Shell\n-from .definitions.Jinja2 import Jinja2\n+from .definitions.Vala import Vala\n from .definitions.VisualBasic import VisualBasic\n from .definitions.XML import XML\n-from.definitions.ZShell import ZShell\n+from .definitions.ZShell import ZShell\n+\n # Stop ignoring PyUnusedCodeBear\n", "issue": "Imported classes should be arranged lexicographically\nClasses being imported in `coala/coalib/bearlib/languages/__init__.py` file should be arranged alphabetically.\r\n\r\nA good newcomer issue. \n", "before_files": [{"content": "\"\"\"\nThis directory holds means to get generic information for specific languages.\n\"\"\"\n\n# Start ignoring PyUnusedCodeBear\nfrom .Language import Language\nfrom .Language import Languages\n\nfrom .definitions.Unknown import Unknown\nfrom .definitions.antlr import antlr\nfrom .definitions.Bash import Bash\nfrom .definitions.C import C\nfrom .definitions.CPP import CPP\nfrom .definitions.CSharp import CSharp\nfrom .definitions.CSS import CSS\nfrom .definitions.D import D\nfrom .definitions.Fortran import Fortran\nfrom .definitions.Golang import Golang\nfrom .definitions.GraphQL import GraphQL\nfrom .definitions.html import HTML\nfrom .definitions.Java import Java\nfrom .definitions.JavaScript import JavaScript\nfrom .definitions.JSON import JSON\nfrom .definitions.JSP import JSP\nfrom .definitions.KornShell import KornShell\nfrom .definitions.m4 import m4\nfrom .definitions.Matlab import Matlab\nfrom .definitions.Markdown import Markdown\nfrom .definitions.ObjectiveC import ObjectiveC\nfrom .definitions.PHP import PHP\nfrom .definitions.PLSQL import PLSQL\nfrom .definitions.PowerShell import PowerShell\nfrom .definitions.Python import Python\nfrom .definitions.Ruby import Ruby\nfrom .definitions.Scala import Scala\nfrom .definitions.Swift import Swift\nfrom .definitions.Tcl import Tcl\nfrom .definitions.TinyBasic import TinyBasic\nfrom .definitions.Vala import Vala\nfrom .definitions.TypeScript import TypeScript\nfrom .definitions.Shell import Shell\nfrom .definitions.Jinja2 import Jinja2\nfrom .definitions.VisualBasic import VisualBasic\nfrom .definitions.XML import XML\nfrom.definitions.ZShell import ZShell\n# Stop ignoring PyUnusedCodeBear\n", "path": "coalib/bearlib/languages/__init__.py"}]}