init - returns all but the last element of a list