def get_months_array(initial_month_year,
                     number_of_months_to_get):
    """
    Get months array based on initial month and number of months to get
    :param initial_month_year: Initial month e.g. (1,2015)
    :param number_of_months_to_get: Number of months to get eg: 2
    :return: Array with month/year data e.g [(12,2014), (1,2015)]
    """
    months_array = [initial_month_year]

    for item in range(1, number_of_months_to_get):
        month = initial_month_year[0]
        year = initial_month_year[1]
        month += item

        if month > 12:
            month -= 12
            year += 1

        months_array.append((month, year))
    return months_array