Write a Python program to reverse a list without using any built-in function.
[1, 2, 3, 4, 5]
def reverseList(l):
  revList = []
  for i in range(len(l)-1,-1,-1):
    revList.append(l[i])
  return revList

lst = [1, 2, 3, 4, 5]
print(reverseList(lst))