Use ArrayList to store the starting and ending coordinates

This change is made in order to make it easier to create a CarEditor object,
which accepts coordinates as int[]. This also reduces the amount of code by
avoiding repeating the same code snippet.
Add car editor