Create a method in Python to flatten a 2-Dimentional array.
array = [[1, 2], [3, 4], [5, 6]]
def flatten(arr):
  flat_list = []
  for sublist in arr:
    for item in sublist:
      flat_list.append(item)
  return flat_list

flatten(array)